T
specifies the type of the value to return
LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetValue<T>(Int64,T) Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class > GetValue Method : GetValue<T>(Int64,T) Method



tag
tag of the item to find.
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.
tag
tag of the item to find.
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.
Returns the value of a DICOM element

Syntax

Visual Basic (Declaration) 
Overloads Public Function GetValue(Of T)( _
   ByVal tag As Long, _
   ByVal defaultValue As T _
) As T
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim tag As Long
Dim defaultValue As T
Dim value As T
 
value = instance.GetValue(Of T)(tag, defaultValue)
C# 
public T GetValue<T>( 
   long tag,
   T defaultValue
)
C++/CLI 
public:
T^ GetValuegeneric<typename T>
( 
   int64 tag,
   T^ defaultValue
) 

Parameters

tag
tag of the item to find.
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.

Type Parameters

T
specifies the type of the value to return

Return Value

a value of type T that is the value of the DICOM element

Example

Remarks

For information on this method, see GetValue.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features